package com.hb.trade.api.manager;

import cn.hutool.extra.spring.EnableSpringUtil;
import org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration;
import org.fzzn.core.apidoc.EnableApiDoc;
import org.fzzn.core.auth.shiro.anno.EnableFzznShiro;
import org.fzzn.core.web.anno.EnableWebConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableWebConfig
@EnableApiDoc
@EnableFzznShiro
@EnableSpringUtil
@EnableFeignClients(basePackages = {
        "com.hb.trade.client.*"
})
@EnableDiscoveryClient
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        ShiroWebFilterConfiguration.class
})
public class ApiManagerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiManagerApplication.class, args);
    }

}
